<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=\, initial-scale=1.0">
    <title>Document</title>
    <script>
        console.log(sayHi);
        console.log(a);
        var a = 10
        let b = 8
        const c = 20
        setTimeout( () => {
            console.log('setTimeOut里面的');
        },2000)
        new Promise( () => {
            console.log('Promise');
        })
        function sayHi(name, age) {
            var a = 3
            console.log(name + '已经' + age + '岁了');
            console.log(arguments.length);
            console.log(a);
            console.log(b);
            console.log(c);
        }
        sayHi('小明', 23)
    </script>
</head>
<body>
    
</body>
</html>